let DateUtils = {
  getFormatDate: function (d) {

    let month = d.getMonth() + 1;
    let date = d.getDate();
    let year = d.getFullYear();
    month = month < 10 ? "0" + month : month;
    date = date < 10 ? "0" + date : date;
   // console.log(year + "-" + month + "-" + date);
    return year + "-" + month + "-" + date;
  },
};
export { DateUtils };
